export const state = () => ({})

export const actions = {
  nuxtServerInit({ commit }, { app, req }) {

    console.log(app.$config._app.platform, req.headers.platform)
    if (req.headers.platform) app.$config._app.platform = req.headers.platform
    // console.log(app.$config._app.platform)
  },
}

export const mutations = {}
